package day11.part2;

/**
 * @Author juzipi
 * @Date 2021/6/27 15:57
 * @Info
 */
public class CylinderTest {

    public static void main(String[] args) {
        Cylinder cylinder = new Cylinder();
        cylinder.setLength(3.4);
        cylinder.setRadius(2.1);
        System.out.println(cylinder.getVolume());
        //圆柱表面积
        System.out.println(cylinder.getArea());

    }

}
